<template>
  <div class="page-tools">
    <div class="container">
      <!-- 左边 -->
      <div class="left">
        <div class="tips">
          <i class="el-icon-warning" />
          <slot name="left">
            共16条记录
          </slot>
        </div>
      </div>
      <!-- 右边 -->
      <div class="right">
        <slot
          name="right"
        />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'VueHr85Index',
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.container{
    display: flex;
    // center 所有子元素居中
    // space-between 两边贴边对齐
    // space-around 两边分散对齐
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    .left{
    background-color: #e6f7ff;
    padding: 8px;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    i.el-icon-warning {
      color: #1f99e4
    }
    span {
      margin-left: 10px;
    }
    };
    .right{
        color: rgb(177, 165, 57);
    }
}
</style>
